﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body {
    background-color: #fff;
    font-size: 12px;
    font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #6B81A2;
}

a:link {
    color: #303F55;
    text-decoration: underline;
}

a:visited {
    color: #303F55;
}

a:hover {
    color: #6B81A2;
    text-decoration: none;
}

a:active {
    color: #303F55;
}

p, ul {
    margin-bottom: 20px;
    line-height: 1.6em;
}

header,
footer,
nav,
section {
    display: block;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #E7F1C6;
}

h1 {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    padding: 0 0 10px 0;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page {
    margin-left: auto;
    margin-right: auto;
}

header, #header {
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0 10px;
}

header h1, #header h1 {
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #6b81a2;
    border: none;
    line-height: 1.5em;
    font-size: 46px !important;
    text-shadow: 1px 1px 0px #303f55;
}

footer, 
#footer {
    background-color: #fff;
    color: #999;
    padding: 10px 0;
    text-align: center;
}

/* TAB MENU   
----------------------------------------------------------*/
ul#menu {
    padding: 0 0 2px;
    position: relative;
    margin: 0;
    text-align: right;
}

ul#menu li {
    display: inline;
    list-style: none;
}

ul#menu li#greeting {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu li a {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    background-color: #e8eef4;
    color: #303f55;
    border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
}

ul#menu li a:hover {
    background-color: #E7F1C6;
    text-decoration: none;
}

ul#menu li a:active {
    background-color: #a6e2a6;
    text-decoration: none;
}

ul#menu li.selected a {
    background-color: #fff;
    color: #6B81A2;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
}

textarea {
    min-height: 75px;
}

input[type="text"], 
input[type="password"] {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 12px;
    color: #444;
    border-radius: 5px;
}

select {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 12px;
    color: #444;
    border-radius: 7px;
}

input[type="submit"] {
    font-size: 12px;
    padding: 5px;
}

/* TABLE
----------------------------------------------------------*/

table {
    border: 0;
    border-collapse: collapse;
}

table td {
    padding: 0;
    border: 0
}

table th {
    padding: 6px 5px;
    text-align: left;
    background-color: #e8eef4;
    border: solid 1px #e8eef4;
}

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

nav, 
#menucontainer {
    margin-top: 40px;
}

div#title {
    display: block;
    float: left;
    text-align: left;
}

#logindisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    margin: 10px;
}

#logindisplay a:link {
    text-decoration: underline;
}

#logindisplay a:visited {
    text-decoration: underline;
}

#logindisplay a:hover {
    text-decoration: none;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, 
.editor-label {
    margin: 4px 0 0 0;
}

.display-field, 
.editor-field {
    margin: 2px 0;
}

.text-box {
    width: 30em;
}

.text-box.multi-line {
    height: 6.5em;
}

.tri-state {
    width: 6em;
}

/* Styles for layout/architecture
----------------------------------------------------------*/

.arrow 
{
    background: transparent url("/Content/images/arrow.png") no-repeat;
    display: block;
    height: 15px;
    width: 9px;
    margin: 0 3px;
}
.right 
{
    background-position: -9px 50%;
}
.right-alt
{
    background-position: -40px 50%;
}

.left
{
    background-position: -18px 50%;
}
.left-alt
{
    background-position: -49px 50%;
}

.down 
{
    background-position: 0 50%;
}
.down-alt
{
    background-position: -30px 50%;
}

#nav 
{
    height: 20px;
    background-color: #6b81a2;
    border-bottom: 1px solid #303F55;
}

#nav span 
{
    font-size: 14px;
}
#nav span.create-rental 
{
    padding-left: 10px;
}

#nav span a,
#nav span a:link,
#nav span a:active
{
    color: #E7F1C6;
}

#single-col-content 
{
    padding: 10px;
    min-width: 500px;
}

#sidebar-show 
{
    display: none;
    float: left;
    padding: 5px;
    position: absolute;
    background-color: #646F3E;
    z-index: 105;
    box-shadow: 1px 1px 1px #303F55;
    width: 65px;
    text-align: center;
}
#sidebar-show a,
#sidebar-show a:link,
#sidebar-show a:active
{
    color: #E7F1C6;
}

#sidebar
{
    color: #E7F1C6;
    float: left;
    padding: 5px;
    width: 225px;
    min-height: 810px;
    background-color: #646F3E;
    position: absolute;
    z-index: 105;
    box-shadow: 1px 1px 2px #303F55;
}

#content 
{
    width: 100%;
}

#map 
{
    height: 820px;
}

#create-rental-content 
{
    padding: 0 5px;
}

#create-rental-content input[type='text']
{
    width: 205px;
}

#create-rental-content #rental
{
    background-color: #E5E5E5;
    border: 1px solid #303F55;
    padding: 5px;
    color: #303F55;
}

#rental table td span 
{
    color: #000;
}

#create-rental-content h5 
{
    margin: 10px 0 2px;
}

/* Styles for All Rentals
----------------------------------------------------*/

#all-rentals 
{
    padding: 0 5px 5px 5px;
    z-index: 104;
    min-width: 750px;
    position: absolute;
    left: 50%;
    background-color: #6B81A2;
    border-radius: 0 0 5px 5px;
    margin-left: -375px;
}

#all-rentals #filter
{
    padding: 5px;
    color: #303F55;
    position: absolute;
    width: 375px;
    background-color: #E5E5E5;
    border: 1px solid #303F55;
    margin-top: -1px;
    display: none;
}
#all-rentals #filter input[type='submit']
{
    padding: 2px 10px;
}

#all-rentals #filter-link 
{
    height: 16px;
    width: 85px;
    cursor: pointer;
    position: relative;
    padding: 2px 5px;
    border: 1px solid #6B81A2;
    border-bottom: 0;
    z-index: 108;
    font-size: 11px;
}
#all-rentals #filter-link.active 
{
    background-color: #E5E5E5;
    border-color: #303F55;
}
#all-rentals #filter-link a,
#all-rentals #filter-link a:active,
#all-rentals #filter-link a:link
{
    color: #E7F1C6;
}
#all-rentals #filter-link.active a,
#all-rentals #filter-link.active a:active,
#all-rentals #filter-link.active a:link
{
    color: #303F55;
}

#all-rentals-list-headings
{
    margin-bottom: 3px;
    color: White;
}
#all-rentals-list-headings td 
{
    padding: 0 5px;
}

#all-rentals-list-headings a,
#all-rentals-list-headings a:link,
#all-rentals-list-headings a:active
{
    color: White;
}

#all-rentals-list 
{
    background-color: White;
    overflow-y: auto;
    padding: 5px;
    max-height: 350px;
}

#all-rentals-list table td
{
    padding: 5px;
    border-top: 1px solid #303F55;
    border-bottom: 1px solid #303F55;
}

#all-rentals-list span.rental-name,
#all-rentals-list span.address-name
{
    font-size: 13px;
}
#all-rentals-list span.rental-name,
#all-rentals-list span.address-name,
#all-rentals-list span.address
{
    font-weight: bold;
}
#all-rentals-list span.bedbath 
{
    display: block;
    margin-top: 5px;
}

#all-rentals-list span.rent 
{
    font-size: 23px;
    font-weight: bold;
}

/* Styles for user-rentals
----------------------------------------------------------*/

#user-rentals #response.success 
{
    background-color: Green;
}

#user-rentals #response.error
{
    background-color: Red;
}

#user-rentals-list
{
    padding: 5px;
}

#user-rentals-list .empty
{
    display: block;
    text-align: center;
}

#user-rentals-options 
{
    height: 30px;
    font-size: 11px;
}

#user-rentals-options span
{
    float: right;
    clear: right;
}

#user-rentals-options a,
#user-rentals-options a:link,
#user-rentals-options a:active
{
    color: #E7F1C6;
}

#user-rentals-options .hide-option 
{
    float: left;
}

#user-rentals #filter 
{
    display: none;
    position: absolute;
    z-index: 101;
    padding: 5px;
    background-color: #646F3E;
    left: 235px;
    top: 5px;
    opacity: 0.95;
    box-shadow: 1px 1px 2px #303F55;
    width: 375px;
    border-radius: 0 5px 5px 0;
}
#filter table td
{
    padding: 2px;
    vertical-align: middle;
}
#filter span 
{
    float: none;
}
#filter input[type='checkbox']
{
    position: relative;
    top: 2px;
}

#user-rentals #sort 
{
    display: none;
    position: absolute;
    padding: 5px 5px 5px 15px;
    z-index: 101;
    background-color: #646F3E;
    top: 15px;
    left: 235px;
    opacity: 0.95;
    box-shadow: 1px 1px 2px #303F55;
    border-radius: 0 5px 5px 0;
}

#user-rentals #sort ul 
{
    list-style: none;
    margin: 0;
    padding: 0;
}

#user-rentals span.title
{
    font-weight: bold;
}

#user-rentals #response {
    margin: 3px 5px 0 5px;
    color: white;
    border: 1px solid grey;
    padding: 1px;
}
#response.success 
{
    background-color: Green;
}
#response.failure 
{
    background-color: Red;
}

#user-rental
{
    min-height: 35px;
    position: relative;
}
#user-rental:hover 
{
    cursor: pointer;
}

#user-rental span 
{
    float: left;
}
#user-rental span.bed-bath,
#user-rental span.remove
{
    clear: left;
}
#user-rental span.bed-bath 
{
    float: right;
}
#user-rental span.rent
{
    font-weight: bold;
    color: #E7F1C6;
    font-size: 24px;
    text-shadow: 1px 1px 1px #303F55;
    position: absolute;
    right: 0;
}

#user-rentals hr,
#create-rental hr
{
    border: 0;
    background: transparent url("/Content/images/divider.png") no-repeat;
    margin: 5px;
    height: 1px;
}


/* Styles for user-rental user-details
--------------------------------------------------*/
#user-rental #rental-details 
{
    width: 276px;
    min-height: 250px;
    position: absolute;
    top: -90px;
    left: 205px;
    z-index: 106;
    display: none;
    cursor: auto;
}

#rental-details #details-body 
{
    width: 250px;
    min-height: 250px;
    background-color: white;
    border: 1px solid grey;
    float: right;
}

#rental-details #details-body #details-content
{
    min-height: 212px;
    padding: 7px;
}

#rental-details #details-body #details-footer 
{
    clear: both;
    padding: 5px;
    top: -36px;
    text-align: right;
}

#rental-details #details-arrow 
{
    position: relative;
    top: 90px;
    left: 1px;
    float: left;
}

#rental-details 
{
    color: #000;
}

#rental-details span.title 
{
    color: #6B81A2;
}